StartAcitivitySetting=function (editor) {
	this.editor = editor;
	this.setting = this.getCurrentAttributeSetting("start");
};

mxUtils.extend(StartAcitivitySetting, AttributeSetting);

/**
 * 渲染结束活动属性设置页面
 */
StartAcitivitySetting.prototype.renderStartActSetting = function() {
	var basicAttrRegion = $('#ef_region_basicAttr');
	$('#name', basicAttrRegion)
			.attr('value', this.setting.getAttribute('Name'));
	$('#displayName', basicAttrRegion).attr('value',
			this.setting.getAttribute('DisplayName'));
	$("#description").val(this.setting.getAttribute('Description'));
};
/**
 * 保存结束活动属性设置
 */
StartAcitivitySetting.prototype.updateStartActSetting = function() {
	// 获取活动属性配置
	/*var basicAttrRegion = $('#ef_region_basicAttr');
	var name = $('#name', basicAttrRegion).attr('value');
	var displayName = $('#displayName', basicAttrRegion).attr('value');
	var description = $('#description', basicAttrRegion).attr('value');*/
	var name = $("#name").val();
	var displayName = $("#displayName").val();
	var description = $("#description").val();

	// 设置基本属性
	var cas = this.setting;
	cas.setAttribute('Name', name);
	cas.setAttribute('DisplayName', displayName);
	cas.setAttribute('Description', description);

	this.updateAttributeSetting();
};